//
//  store.h
//  pipi
//
//  Created by zhao ys on 5/15/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <StoreKit/StoreKit.h>

@interface store : NSObject<SKProductsRequestDelegate, SKPaymentTransactionObserver> {
	BOOL _canMakePayments;
	
	NSMutableDictionary * _products;
}

@property (nonatomic, readonly) NSDictionary * products;

+(store*) sharedStore;
-(id) init;

-(BOOL) makePayment:(NSString *)id;

@end
